export function compareFn(property: string) {
  //为数据排序的算法
  return (a: any, b: any) => {
    var value1 = a[property]
    var value2 = b[property]
    return value1 - value2
  }
}
